<div id="body-wrapper"> <!-- Wrapper for the radial gradient background -->
		
		<?php require 'sidebar.php';?>
		
		<div id="main-content"> <!-- Main Content Section with everything -->
			
			<noscript> <!-- Show a notification if the user has disabled javascript -->
				<div class="notification error png_bg">
					<div>
						Javascript is disabled or is not supported by your browser. Please <a href="http://browsehappy.com/" title="Upgrade to a better browser">upgrade</a> your browser or <a href="http://www.google.com/support/bin/answer.py?answer=23852" title="Enable Javascript in your browser">enable</a> Javascript to navigate the interface properly.
					</div>
				</div>
			</noscript>
			
			<div class="content-box"><!-- Start Content Box -->
				
				<div class="content-box-header">
					
					<h3>列表</h3>
					
					<ul class="content-box-tabs">
						<li><a href="#tab1" class="default-tab">列表</a></li> <!-- href must be unique and match the id of target div -->
						<li><a href="#tab2">新建</a></li>						
					</ul>
					
					<div class="clear"></div>
					
				</div> <!-- End .content-box-header -->
				
				<div class="content-box-content">
					
					<div class="tab-content default-tab" id="tab1"> <!-- This is the target div. id must match the href of this div's tab -->
						
						<div class="notification attention png_bg">
							<a href="#" class="close"><img src="/resources/images/icons/cross_grey_small.png" title="Close this notification" alt="close" /></a>
							<div>
								此处设置网站相关主要内容。联系我们/关于我们等页面
							</div>
						</div>
						
						<table>
							
							<thead>
								<tr>
								   <th><input class="check-all" type="checkbox" /></th>
								   <th>名称</th>
								   <th>链接地址</th>
								   <th>更新时间</th>								  
								   <th>管理</th>
								</tr>
								
							</thead>
						 
							<tfoot>
								<tr>
									<td colspan="5">
										<div class="bulk-actions align-left">
											<select name="dropdown">
												<option value="option1">选择一项操作...</option>
												<option value="delete">删除</option>
											</select>
											<a class="button" href="#">应用操作</a>
										</div>
										<div class="pagination">
										<?php echo $pageinfo?>
										</div>
										
										<div class="clear"></div>
									</td>
								</tr>
							</tfoot>
						 
							<tbody>
							
							<?php foreach ($about as $a){?>
								<tr id="tr_<?php echo $a->id?>">
									<td><input type="checkbox" /></td>
									<td><?php echo $a->title?></td>
									<td><?php  echo anchor('about/'.$a->link, $a->link,array('target'=>'_blank') );?></td>
									<td><?php echo $a->updatetime?></td>									
									<td>
										<!-- Icons -->
										 <a href="#" title="编辑" onclick="if(edit('<?php echo $a->id?>')){return true;}else{return false;}"><img src="/resources/images/icons/pencil.png" alt="Edit" /></a>
										 <a href="#" title="删除" onclick="if(del('<?php echo $a->id?>')){return true;}else{return false;}"><img src="/resources/images/icons/cross.png" alt="Delete" /></a> 										 									</td>
								</tr>
							<?php }?>
								
							</tbody>
							
						</table>
						
					</div> <!-- End #tab1 -->
					<div class="tab-content" id="tab2">
					<div id="menuContent" class="menuContent" style="display:none; position: absolute; background:#FFF">
						<ul id="treeDemo" class="ztree" style="margin-top:0; width:160px;"></ul>
					</div>
						<form id="frmadd" name="frmadd" action="" method="post">
							<input  type="hidden" id="id" name="id" /> 
							<fieldset> <!-- Set class to "column-left" or "column-right" on fieldsets to divide the form into columns -->
								
								<p>
									<label>页面名称</label>
										<input class="text-input small-input" type="text" id="title" name="title" /> <span class="input-notification png_bg"></span> <!-- Classes for input-notification: success, error, information, attention -->
										<br /><small>页面名称</small>
								</p>
								<p>
									<label>链接</label>
										<input class="text-input small-input" type="text" id="link" name="link" /> <span class="input-notification png_bg"></span> <!-- Classes for input-notification: success, error, information, attention -->
										<br /><small>http://domain/about/* 形式显示，系统会以设置其中的“*”号内容，仅限英文字母或数字</small>
								</p>
								<p>
									<label>页面内容</label>
									<textarea class="" style="visibility:hidden;" id="content" name="content" cols="79" rows="15"></textarea>
								</p>
															
								<p>
									<input class="button" type="button" value="添加" id="sbm" />
								</p>
								
							</fieldset>
							
							<div class="clear"></div><!-- End .clear -->
							
						</form>
					</div> <!-- End #tab2 -->
					       
					
				</div> <!-- End .content-box-content -->
				
			</div> <!-- End .content-box -->
			
			<div class="content-box column-left">
				
				<div class="content-box-header">
					
					<h3>功能介绍</h3>
					
				</div> <!-- End .content-box-header -->
				
				<div class="content-box-content">
					
					<div class="tab-content default-tab">
					
						<h4>网站管理列表</h4>
						<p>
						网站主要的几个页面设置
						</p>
						
					</div> <!-- End #tab3 -->        
					
				</div> <!-- End .content-box-content -->
				
			</div> <!-- End .content-box -->
			
			<div class="clear"></div>
			
			
			
			<?php require_once 'copy.php';?>
			
		</div> <!-- End #main-content -->
		
	</div>